package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 【请填写功能名称】对象 salary
 * 
 * @author ruoyi
 * @date 2020-06-17
 */
public class Salary extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工资单id */
    private Long sId;

    /** 员工姓名 */
    @Excel(name = "员工姓名")
    private Long sName;

    /** 员工工资 */
    @Excel(name = "员工工资")
    private BigDecimal sMoney;

    /** 工资日期 */
    @Excel(name = "工资日期", width = 30, dateFormat = "yyyy-MM-dd")
    private Date sDate;

    /** 下发金额 */
    @Excel(name = "下发金额")
    private BigDecimal sBalance;

    /** 下发状态 */
//    @Excel(name = "下发状态")
    private Integer sStatus;

    public void setsId(Long sId) 
    {
        this.sId = sId;
    }

    public Long getsId() 
    {
        return sId;
    }
    public void setsName(Long sName)
    {
        this.sName = sName;
    }

    public Long getsName()
    {
        return sName;
    }
    public void setsMoney(BigDecimal sMoney)
    {
        this.sMoney = sMoney;
    }

    public BigDecimal getsMoney()
    {
        return sMoney;
    }
    public void setsDate(Date sDate) 
    {
        this.sDate = sDate;
    }

    public Date getsDate() 
    {
        return sDate;
    }
    public void setsBalance(BigDecimal sBalance)
    {
        this.sBalance = sBalance;
    }

    public BigDecimal getsBalance()
    {
        return sBalance;
    }
    public void setsStatus(Integer sStatus) 
    {
        this.sStatus = sStatus;
    }

    public Integer getsStatus() 
    {
        return sStatus;
    }
//。。。。。。。。。。。。。。。。。。。。。。以下为了导出
    public Integer getSStatus()
{
    return sStatus;
}
    public BigDecimal getSBalance()
    {
        return sBalance;
    }
    public BigDecimal getSMoney()
    {
        return sMoney;
    }
    public Date getSDate()
    {
        return sDate;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sId", getsId())
            .append("sName", getsName())
            .append("sMoney", getsMoney())
            .append("sDate", getsDate())
            .append("sBalance", getsBalance())
            .append("sStatus", getsStatus())
            .toString();
    }
}
